
package com.kingyun.gpsinspection.purificationservice.facade.service.jsm.position;

import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Position;

import java.util.List;

/**
 * @Author 卢曼成
 * @Description 汇报点接口类
 * @CreateDateTime 2017-03-25 13:05
 **/
public interface JsmPositionService {

    /**
     * 根据ID删除
     *
     * @param positionId
     * @return
     */
    int deleteByPrimaryKey(Long positionId);

    /**
     * 添加
     *
     * @param record
     * @return
     */
    int insert(Position record);

    /**
     * 非空添加
     *
     * @param record
     * @return
     */
    int insertSelective(Position record);

    /**
     * 根据ID查询
     *
     * @param positionId
     * @return
     */
    Position selectByPrimaryKey(Long positionId);

    /**
     * 非空修改
     *
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Position record);

    /**
     * 修改
     *
     * @param record
     * @return
     */
    int updateByPrimaryKey(Position record);

    /**
     * @param record
     * @return List<Position>
     * @Author 卢曼成
     * @Description 根据条件查询集合
     * @CreateDateTime 2017/3/24 19:38
     **/
    List<Position> selectByParamList(Position record);
}
